//StudybarCommentBegin
#include <stdio.h>
int main()
{
 void swap(int *,int *);
int a,b;
scanf("%d %d",&a,&b);
swap(&a,&b);
printf("%d %d",a,b);
return 0;
}
//StudybarCommentEnd
void swap(int *a,int *b)
{
	int p;
	p=*a;*a=*b;*b=p;
}
